package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 设备报警表
 * </p>
 *
 * @author fsd
 * @since 2023-10-18
 */
@Getter
@Setter
@TableName("rb_equipment_alarm")
@ApiModel(value = "EquipmentAlarm对象", description = "设备报警表")
public class EquipmentAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("报警内容")
    private String alarmMsg;

    @ApiModelProperty("报警时间")
    private LocalDateTime alarmTime;

    @ApiModelProperty("报警状态：1-正常，0:-报警")
    private Integer alarmStatus;

    @ApiModelProperty("处理状态：1-已处理，0:-未处理")
    private String disposeStatus;

    @ApiModelProperty("所属设备ID")
    private Integer equipmentId;

    @ApiModelProperty("所属设备名称")
    private String equipmentName;

    @ApiModelProperty("所属组织id")
    private Integer organizationId;

    @ApiModelProperty("所属组织名称")
    private String organizationName;


}
